import zh from './locales/zh.json';

interface I18nConfig {
  legacy: boolean;
  locale: string;
  messages: {
    [key: string]: any;
  };
}

export default defineI18nConfig(() => {
  const config: I18nConfig = {
    legacy: false,
    locale: 'zh',
    messages: {
      zh
    }
  };

  return config;
});